Skip to content

frenetic-lang/featherweight-openflow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Building from Source

Prerequisites

Building

  • From the root directory of the repository, run make

    $ make
    

    Make compiles the Coq code first, extracts it to OCaml, and then compiles the OCaml shim.

Hacking

Coq Wisdom

Do not use type-classes in Coq code that is meant to be extracted to OCaml. Type-classes aren't expressible in OCaml's type system, and Coq happily extracts it to use Obj.magic and other nonsense.

However, type-classes can help structure proofs. So, very carefully split factor the Coq into code and proof.

OCaml Wisdom

If you're using the user-mode reference switch, emit CONTROLLER actions last.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published